package com.hgw.Demo07_FlyweightPattern.Exercises14_9_4;

/**
 * Data time:2021/12/15 21:02
 * StudentID:2019112118
 * Author:hgw
 * Description: 网络设备，充当抽象享元类
 */
public abstract class NetworkEquipment {
    public abstract String getName();

    public void display() {
        System.out.println("通过网络设备：" + this.getName() + "上网");
    }
}
